package com.entity;

/**
 * TOrderdetail entity. @author MyEclipse Persistence Tools
 */

public class TOrderdetail implements java.io.Serializable {

	// Fields

	private String id;
	private String trestaurantId;
	private String torderId;
	private String tmenuId;
	private Integer quantity;
	private Integer discount;
	private Double price;
	private Double total;

	// Constructors

	/** default constructor */
	public TOrderdetail() {
	}

	/** minimal constructor */
	public TOrderdetail(String id, String trestaurantId, String torderId,
			String tmenuId) {
		this.id = id;
		this.trestaurantId = trestaurantId;
		this.torderId = torderId;
		this.tmenuId = tmenuId;
	}

	/** full constructor */
	public TOrderdetail(String id, String trestaurantId, String torderId,
			String tmenuId, Integer quantity, Integer discount, Double price,
			Double total) {
		this.id = id;
		this.trestaurantId = trestaurantId;
		this.torderId = torderId;
		this.tmenuId = tmenuId;
		this.quantity = quantity;
		this.discount = discount;
		this.price = price;
		this.total = total;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTrestaurantId() {
		return this.trestaurantId;
	}

	public void setTrestaurantId(String trestaurantId) {
		this.trestaurantId = trestaurantId;
	}

	public String getTorderId() {
		return this.torderId;
	}

	public void setTorderId(String torderId) {
		this.torderId = torderId;
	}

	public String getTmenuId() {
		return this.tmenuId;
	}

	public void setTmenuId(String tmenuId) {
		this.tmenuId = tmenuId;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Integer getDiscount() {
		return this.discount;
	}

	public void setDiscount(Integer discount) {
		this.discount = discount;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getTotal() {
		return this.total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

}